		<div id="maintop">
				
				<?php echo $pagecontent['content'] ;?>
				<div id="slideshow" class="pics">
				  <?php
					if(isset($slides)){
	                    foreach ($slides as $slide)
	                    {
	                    	$imageinfo = $slide['image'];
    						$slideimg=convert_image_path($imageinfo);
	                        echo '<img class="hideme" src="'. $slideimg. '" alt="' . $slide['name'] .
	                        '" />';
	                    
	                    }
					}
                    ?>
				</div>
		</div>
		<div id="frontproducttable">
				
				<?php
                    foreach ($images as $image)
                    {
                    	$imageinfo = $image['thumbnail'];
                    	$thumbnail=convert_image_path($imageinfo);
                    	
						echo '<div class="vt ac" >'."\n".'<div class="frontpro">'."\n".'<div class="vt">'."\n";
						echo '<a href="' . site_url().'/'.lang('webshop_folder'). '/product/'.$image['id']. '">';
						echo "<img src='".$thumbnail."' border='0' class='thumbnail'/></a>\n</div>\n<div class='vt al'>\n";
						echo '<span class="hdrproduct"><a href="' . site_url(). '/'.lang('webshop_folder').'/product/'.$image['id']. '">'."\n";
						echo $image['name']. "</a></span><br />\n";
						echo $image['shortdesc']."</div>\n";
						echo "<div class='vt ar'><b>".lang('webshop_price')."</b>: <span class='price'>".lang('webshop_currency_symbol').$image['price']."</span><br />\n";
						echo '<a href="' . site_url()."/".lang('webshop_folder'). '/cart/'.$image['id']. '"><p class="addtocart">'.lang('webshop_buy').'</p></a></div>';
                        echo "\n</div>\n</div>\n";
                    }
                    ?>
					
		</div>
		
